package com.ldd.malphite.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ldd.malphite.enums.RunoobStatus;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Book {

    private int runoobId;
    private String runoobTitle;
    private String runoobAuthor;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date submissionDate;
    private RunoobStatus runoobStatus;
}
